package com.lovo.manage_back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lovo.manage_back.bean.Authority;
import com.lovo.manage_back.result.GlobalHandleException;
import org.apache.shiro.spring.web.ShiroFilterFactoryBean;

import java.util.Map;

public interface AuthorityService extends IService<Authority> {
    Map<String,String> loadFilterChainDefinitionMap();
    void updatePermission() throws Exception;
    int add(Authority authority) throws GlobalHandleException;
}
